//
//  YIFatherVC.m
//  一点互助
//
//  Created by rimi on 16/8/19.
//  Copyright © 2016年 shen. All rights reserved.
//

#import "YIFatherVC.h"
@implementation YIFatherVC
-(UIViewController *)superVC:(id)who{
       id object = [who nextResponder];
       while (![object isKindOfClass:[UIViewController class]] &&
              object != nil) {
              object = [object nextResponder];
       }
       UIViewController *uc=(UIViewController*)object;
       return uc;
}
@end
